﻿using CommonPatterns.MVVM;
using CommonPatterns.Screen;

namespace OCDP.Client.Screens.Hello
{
    // Todo : do not forget to register de MvvmScreen  in the modul class
    // container.RegisterMvvmUnit<HelloView, HelloViewModel, IHelloViewModel>(true);

    [MenuItem("Hello")]
    [MappedToWiewModel(typeof(HelloViewModel))]
    public partial class HelloView : IScreenLogic
    {
        public HelloView(IHelloViewModel viewModel)
        {
            InitializeComponent();
            DataContext = viewModel;
        }
    }
}
